cmake_minimum_required(VERSION 3.10)
project(tetris)

set(CXX_STANDARD 11)

aux_source_directory(./src/ SRC)
add_library(term SHARED ${SRC})
add_executable(tetris src/main.cpp)
target_link_libraries(tetris PRIVATE term pthread)